package csnd.xinghe.neo4j.server.entity;

import com.alibaba.fastjson2.annotation.JSONField;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class GraphEntitiy {
    @JSONField(name = "nodes")
    private List<NodeEntity> nodes;
    @JSONField(name = "edges")
    private List<EdgeEntity> edges;
    @JSONField(name = "centerNode")
    private NodeEntity centerNode;
}
